<?php

	include('functions.php');
	
	$idCongress = getValor('ID_CONGRESS');
	
	$queryUpdate = "UPDATE CONGRESS SET DELETED = 1 WHERE ID_CONGRESS =  " . $idCongress;
	
	executeUpdateQuery($queryUpdate);

	header("Location: congress_edit.php?success=congressdeleted");

?>